import request from './request'

import { UserInfoDto } from '@/api/dto'

// 创建二维码
export function createInviteQrCode (data: any) {
    return request.post('/api/v1/wx-crm/createQrCode', data)
}

// 获取意向客户
export function getclientsapi (data: any) {
    return request.get('/api/v1/crm/sales-custom/sales-apply-info', data)
}

// 根据用户信息,获取被推广客户信息
export function getrecordlistapi (data: any) {
    return request.get('/crm/promotion/record/list', data)
}

// 申请结算接口-修改状态
export function editstatusapi (data: any) {
    return request.get('/crm/promotion/record/edit-status', data)
}

// 获取B端报名体验功能客户列表
export function getSubscribeProductListApi (data: any) {
    return request.get('/api/v1/crm/custom/subscribe-product-list', data)
}

// 增加跟进中报名客户
export function customInfoApi (data: any) {
    return request.post('/api/v1/crm/custom/custom-info', data)
}

// 修改跟进中报名客户
export function changecustomInfoApi (data: any) {
    return request.put('/api/v1/crm/custom/custom-info', data)
}

// 获取海报列表
export function getPosterListApi (data:any) {
    return request.get('/api/v1/crm/custom/query-poster-list', data)
}
